package com.liyu.iblog.dao;

import java.util.List;

import com.liyu.iblog.domain.DomainObject;

public interface GenericDao<T extends DomainObject> {
    
    public T get(Object id);
    public List<T> getAll();
    public void save(T object);
    public void delete(Object key);
    
}
